package com.mycinema.service;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.mycinema.entity.Movie;

public interface MovieService {
	List<Movie> getAll();
	List<Movie> getMoviesTitleCid(int cid,String title);		
	void updateMovie(Movie movie);		
	//f分页查询
	List<Movie>  getMoviesPage(int cid,String title, int startIndex,int pageSize);	
	//计算总记录数
	int getRows(int cid,String title);
	Movie getById(int id);
	void addMovie(Movie movie);
}
